﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1.Repository
{
    public interface IRepository<T>
    {
        IEnumerable<T> GetList();
        T GetByID(long id);
        void Create(T entity);
        void Update(T entity);
        void Delete(T entity);
    }
}
